package metier;

import dao.IDao;

public class MetierImpl implements IMetier {

	private IDao dao;
	
	@Override
	public int calcule() {
		int val = dao.getValue();
		return 3 * val;
	}
	
	public void setDao(IDao dao)
	{
		this.dao = dao;
	}
}
